package com.sz.jinzheng.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Interest {
    private Integer id;//ID
    private Integer borrowerInfoId;//借款人信息表ID
    private Integer userId;//借款用户id
    private String  currency;//币种
    private Double amount;//借款金额；
    private Integer period;//借款期限;
    private Double  borrowYearRate;//年化利率
    private Integer returnMethod;//还款方式
    private String moneyUse;//资金用途
    private Double  principalAndInterest;//本息
    private Double interest;//利息
    private Integer status;//zhuangtai
    private Timestamp createTime;//创建时间
    private Timestamp updateTime;//更新时间
    private Integer isDeleted;//是否删除

}
